On the expressive power of the relational algebra with partially ordered domains
نویسندگان
چکیده
Assuming data domains are partially ordered, we apply Paredaens' and Bancilhon's Theorem 13, 5] to examine the expressiveness of the relational algebra. We rst extend the relational algebra to the partially ordered re-lational algebra (which we call the PORA) by allowing the ordering predicate v to be used in formulae of the selection operator (). We then show that the PORA expresses exactly the set of all possible relations which are invariant under order-preserving automorphism of databases. The extension is justiied by its consistency with the two important extreme cases of unordered and linearly ordered domains. Moreover, we investigate three hierarchies of: (1) computable queries, (2) query languages and (3) partially ordered domains, and show that there is a one-to-one correspondence between them.
منابع مشابه
An Algebra for Pomsets
We study languages for manipulating partially ordered structures with duplicates (e.g. trees, lists). As a general framework, we consider the pomset (partially ordered multiset) data type. We introduce an algebra for pomsets, which generalizes traditional algebras for (nested) sets, bags and lists. This paper is motivated by the study of the impact of diierent language primitives on the express...
متن کاملIteration Mechanisms
The goal of this paper is to study tractable iteration mechanisms for bags. The presence of duplicates in bags prevents iteration mechanisms developed in the context of sets to be directly applied to bags without losing tractability. We study two constructs for controlling tractability of iteration over bags. The deeationary xpoint construct keeps removing elements from a bag until a xpoint is ...
متن کاملThe Completeness Problem of Ordered Relational Databases
Support of order in query processing is a crucial component in relational database systems, not only because the output of a query is often required to be sorted in a specific order, but also because employing order properties can significantly reduce the query execution cost. Therefore, finding an effective approach to answer queries over ordered data is important to the efficiency of query pr...
متن کاملBoolean Dependence Logic and Partially-Ordered Connectives
We introduce a new variant of dependence logic (D) called Boolean dependence logic (BD). In BD dependence atoms are of the type =(x1, . . . , xn, α), where α is a Boolean variable. Intuitively, with Boolean dependence atoms one can express quantification of relations, while standard dependence atoms express quantification over functions. We compare the expressive power of BD to D and first-orde...
متن کاملSimulation of the Nested Relational Algebra by the at Relational Algebra, with an Application to the Complexity of Evaluating Powerset Algebra Expressions
Paredaens and Van Gucht proved that the at relational algebra has the same expressive power as the nested relational algebra, as far as queries over at relations and with at results are concerned. We provide a new, very direct proof of this fact using a simulation technique. Our technique is also applied to partially answer a question posed by Suciu and Paredaens regarding the complexity of eva...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Inf. Process. Lett.
دوره 7 شماره
صفحات -
تاریخ انتشار 1978